class Teacher < User
  has_many :students, :class_name =>'Student', :foreign_key => 'teacher_id'
  def user_type 
    return "教师"
  end
end
